home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
program
/
shrlk201.zip
/
_SETUP.1
/
Unlock.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1997-07-22
|
810b
|
24 lines
//---------------------------------------------------------------------------
#include <vcl\vcl.h>
#pragma hdrstop
#include "Unlock.h"
//---------------------------------------------------------------------------
#pragma resource "*.dfm"
TfrmUnlocker *frmUnlocker;
//---------------------------------------------------------------------------
__fastcall TfrmUnlocker::TfrmUnlocker(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TfrmUnlocker::btnOkClick(TObject *Sender)
{
if (txtName->Text == "")
{
MessageDlg("Please enter a name", mtError, TMsgDlgButtons() << mbOK, 0);
ModalResult = mrNone;
};
}
//---------------------------------------------------------------------------